/*
 * dev_conf.h
 *
 *  Created on: May 12, 2016
 *      Author: Alan Wang
 */

#ifndef BUSINESS_CONF_DEV_CONF_H_
#define BUSINESS_CONF_DEV_CONF_H_

#include "../../app/gvar.h"

typedef struct {
	char host[20];
}PingIp;

void init_dev_config();
int set_dev_master_id(int master_id);
int get_dev_master_id();

int set_dev_wifi_ssid(char* ssid);
void get_dev_wifi_ssid(char* ssid);

int set_dev_wifi_pwd(char* password);
void get_dev_wifi_pwd(char* password);

int set_dev_wifi_info(char* ssid, char* password);
void get_dev_wifi_conf(DevConfig* dev_conf);

int get_ping_ip_list(PingIp* ip_list, int max_count);

#endif /* BUSINESS_CONF_DEV_CONF_H_ */
